package com.frame.service;

import com.frame.entity.Account;

/*
 * 账户业务接口
 * @author Administrator
 *
 */
public interface AccountService {
	
	boolean verify(String username, String password);
	
	/*
	 * 获得账户 
	 * @param username
	 * @param password
	 * @return
	 */
	Account read(String username, String password);
	
	/*
	 * 获得账户 
	 * @param id
	 * @return
	 */
	Account read(Integer id);
}

